import React, { memo } from "react";
import { useNavigate } from "react-router-dom";
import { NavBar } from "react-vant";
import Image from "../../image/9.jpg";
import style from './index.module.scss'
const Index: React.FC = memo( () => {
  const navigate = useNavigate();
  return (
    <div>
      <NavBar
        className={style.nav}
        title="健康测评"
        onClickLeft={() => navigate(-1)}
      />
      <img src={Image} alt="" style={{ width: "100%" }} className={style.img} />
    </div>
  );
})

export default Index;
